package com.ruoyi.web.dorm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassStudentEntity {
    // 宿舍人员信息id
    @Excel(name = "宿舍人员信息id")
    private Long id;

    // 班级id查询班级编号 班级名和辅导员
    @Excel(name = "班级id", width = 15)
    private Long classId;

    // 学生id 查询学生信息
    @Excel(name = "学生id", width = 15)
    private Long studentId;

    // 宿舍id 查询宿舍
    @Excel(name = "宿舍id", width = 15)
    private Long dormId;

    // 创建者
    @Excel(name = "创建者", width = 15)
    private String createBy;

    // 创建时间
    @Excel(name = "创建时间", width = 20, dateFormat = "yyyy年MM月dd日")
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private Date createTime;

    // 更新者
    @Excel(name = "更新者", width = 15)
    private String updateBy;

    // 更新时间
    @Excel(name = "更新时间", width = 20, dateFormat = "yyyy年MM月dd日")
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private Date updateTime;

    // 删除标志（0代表存在 1代表删除）
    @Excel(name = "删除标志", width = 15)
    private String delFlag;
}
